/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package grasp;

/**
 *
 * @author walter
 */
public class Ciudad {
    public int id ;
    public int x ;
    public int y ;
    public int capAlmacen ;
    
    public Ciudad( int id , int x , int y , int cap ){
        this.x = x ;
        this.y = y ;
        this.id = id ;
        capAlmacen = cap ;
    }
    
    public boolean diff( Ciudad c ){
//        System.out.println( "Otro = " + c.id ) ;
//        System.out.println( "YO = " + id ) ;
        return id != c.id ;
    }
}
